package com.ruoyi.goodsStore.domain;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 商品存储对象 goods_store
 * 
 * @author ruoyi
 * @date 2024-11-01
 */
@Data
public class GoodsStore extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 商品id */
    @Excel(name = "商品id")
    private Long goodsId;

    /** 订单id */
    @Excel(name = "订单id")
    private Long orderId;

    /** 仓库id */
    @Excel(name = "仓库id")
    private Long warehouseId;

    /** 产品编号 */
    @Excel(name = "产品编号")
    private String goodsNo;

    /** 库区id */
    @Excel(name = "库区id")
    private Long areaId;

    /** 货架id */
    @Excel(name = "货架id")
    private Long shelfId;

    /** 货位id */
    @Excel(name = "货位id")
    private Long locationId;

    public Long getStatus() {
        return status;
    }

    public void setStatus(Long status) {
        this.status = status;
    }

    /** 出库状态 */
    @Excel(name = "出库状态")
    private Long status;

    @Override
    public String toString() {
        return "GoodsStore{" +
                "goodsId=" + goodsId +
                ", orderId=" + orderId +
                ", warehouseId=" + warehouseId +
                ", goodsNo='" + goodsNo + '\'' +
                ", areaId=" + areaId +
                ", shelfId=" + shelfId +
                ", locationId=" + locationId +
                ", status=" + status +
                ", allotState=" + allotState +
                ", goodsName='" + goodsName + '\'' +
                '}';
    }

    public Long getAllotState() {
        return allotState;
    }

    public void setAllotState(Long allotState) {
        this.allotState = allotState;
    }

    /** 库位状态 */
    @Excel(name = "库位状态")
    private Long allotState;

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    /** 商品名称 */
    @Excel(name = "商品名称")
    private String goodsName;

    public void setGoodsId(Long goodsId) 
    {
        this.goodsId = goodsId;
    }

    public Long getGoodsId() 
    {
        return goodsId;
    }
    public void setOrderId(Long orderId) 
    {
        this.orderId = orderId;
    }

    public Long getOrderId() 
    {
        return orderId;
    }
    public void setWarehouseId(Long warehouseId) 
    {
        this.warehouseId = warehouseId;
    }

    public Long getWarehouseId() 
    {
        return warehouseId;
    }
    public void setGoodsNo(String goodsNo) 
    {
        this.goodsNo = goodsNo;
    }

    public String getGoodsNo() 
    {
        return goodsNo;
    }
    public void setAreaId(Long areaId) 
    {
        this.areaId = areaId;
    }

    public Long getAreaId() 
    {
        return areaId;
    }
    public void setShelfId(Long shelfId) 
    {
        this.shelfId = shelfId;
    }

    public Long getShelfId() 
    {
        return shelfId;
    }
    public void setLocationId(Long locationId) 
    {
        this.locationId = locationId;
    }

    public Long getLocationId() 
    {
        return locationId;
    }

}
